#define _CRT_SECURE_NO_WARNINGS 1
#include <iomanip>
#include<iostream>
#include<string>

using namespace std;

int main()
{
	//int T = 17;
	//const int k = 169;
	//double vh;
	//double Is = 2.00;
	//for (int i = 0; i < 17; ++i)
	//{
	//	cin >> vh;
	//	/*cout << setiosflags(ios::fixed) << setprecision(2);*/
	//	cout << (vh / (k * Is)) * 1000 << endl;
	//}
	char str1[20];
	char str2[20];
	cin >> str1 >> str2;
	cout << str1 << endl;
	cout << str2 << endl;
	return 0;
}